void portal(Player @player, Portal @portal) {
if (player.getItemAmount(4001017) == 0) {
player.showMessage("You need the Eye of Fire to enter.");
return;
}
if (player.getChannel().getMap(280030000).getMobsCount() > 0 ) {
player.showMessage("The battle against Zakum has already begun, so you can't go in.");
return;
}
if (player.getChannel().getMap(280030000).getPlayers().getAmount() == 0) {
player.getChannel().getMap(280030000).clearReactors();
}
player.changeMap(211042400, "west00");
}